package com.wavecoler.professor.objects;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable
public class AdviceCategory implements Serializable {
	
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key adviceCategoryId;
	
	@Persistent
	private String adviceCategoryNum;
	
	@Persistent
	private String categoryName;
	
	@Persistent
	private String Preference;
	
	public Key getAdviceCategoryId() {
		return adviceCategoryId;
	}
	
	public String getAdviceCategoryNum() {
		return adviceCategoryNum;
	}
	
	public String getCategoryName() {
		return categoryName;
	}
	
	public String getPreference() {
		return Preference;
	}
	
	public void setAdviceCategoryNum(String adviceCategoryNum) {
		this.adviceCategoryNum = adviceCategoryNum;
	}
	
	public void setCategoryName (String categoryName) {
		this.categoryName = categoryName;
	}
	
	public void setPreference (String Preference) {
		this.Preference = Preference;
	}
	
	public AdviceCategory(String adviceCategoryNum, String categoryName, String Preference) {
		this.adviceCategoryNum = adviceCategoryNum;
		this.categoryName = categoryName;
		this.Preference = Preference;
	}
}
